All Questions
49 questions
1vote
1answer
56views
Rewrite standard $errors messages output via function.php
For example: ERROR: Invalid email address. Lost your password? I want to catch it and show my own message instead. I can edit user.php in WordPress but I don't want to touch base (core) WP files.
0votes
0answers
570views
warning: trying to access array offset on value of type bool ACF field image group
I have a problem with an acf function for displaying an image by array. I can get my image to work well when I upload it to the field associated with it. On the other hand, when I don't put an image, ...
0votes
1answer
164views
Logout redirect via page template without confirmation?
I'm trying to redirect users when they visit my page template template-logout.php, but I keep getting the Wordpress "Do you really want to logout?" question despite wpnonce being generated. ...
0votes
1answer
52views
How to fix enqueue_styles error for a twenty-seventeen childtheme
I have searched your site but cannot find and fix this error I get: Notice: Function wp_enqueue_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered ...
0votes
0answers
23views
Comment turned Invisible
Please help me with this problem. People can comment, and the database shows the commented data. but the website is not displaying them. They are just showing blank space. (Just the username of the ...
0votes
0answers
38views
Programmatically revert to backup .htaccess a possibility?
This may be impossible, but I am wondering if anyone knows if there is a way to try loading an .htaccess file, and if it causes issues on the site then revert to a backup .htaccess file? Same goes for ...
0votes
1answer
815views
Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme
I have two Wordpress sites with theme Dyad 2 https://wordpress.com/theme/dyad-2 I need to upgrade from PHP 7.4 to 8.1, but when I try I got four "Deprecated: Non-static" errors. I managed to ...
0votes
1answer
57views
Can't log in to WordPress wp-admin after adding code to functions.php
I am adding the following code to the end of my functions.php file to populate a taxonomy based on a Custom post's post-title. The problem is that when I add the code I get the following error trying ...
0votes
0answers
50views
Cannot find the php_ini configuration file to find my error log to see why my code is not working
would anybody know where I could find the php_ini configuration file to look for error log, as my code will not work in wordpress. I went to app folder, then public folder, but only see wp_config.php ...
0votes
0answers
776views
functions.php pharse error on complete new install
So I have just installed wordpress on shared hosting (with php 8.0 & DB (I forgot what version but it works) and immediately after setup, I get this: Parse error: syntax error, unexpected '.', ...
2votes
2answers
1kviews
Why is my Gutenberg block returning an error after initial save?
I created a Gutenberg block but after saving it and going back into the post I receive this error: This block contains unexpected or invalid content I couldn't find any inconsistencies and I had a ...
1vote
1answer
2kviews
A non-numeric value encountered in /wp-includes/functions.php on line 68
We recently updated our shared hosting to use PHP 7.3 (problem still existed in PHP 7.2 as well) - website is throwing the error in the title. the function in question is: function current_time( $...
0votes
1answer
477views
Site title not showing. Please help me
Please help me, My WordPress site's title not showing. It's just displaying the domain like, www.example.com. site: https://happyygarden.com Please check my site code and suggest how to display the ...
0votes
0answers
4kviews
"Conditional query tags do not work before the query is run. Before > then, they always return false. "
I'm getting the following error Notice: is_tax was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging ...
-1votes
2answers
4kviews
Notice: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in ....functions.php on line 73
When I tried to edit my menu, it appeared HTTP ERROR 500 Then I set define('WP_DEBUG', true); in wp-config.php Once I try to save the menu, the following error appears: Notice: Use of undefined ...